DiGrande.it
Braille and Technologies for Visual Impairment

StringLength- Returns the length of a string

Function that returns the length of a string.

- StringLength(S): int

Parameters:

- (string) S: A string from which the length is derived.

Description:

Use the StringLength function to derive the number of characters contained in a string.

Examples:

// Create a string variable

S = "Biblos"

// Get its length

T = StringLength(S)

// The variable T contains the value 6, the length of the string S

MsgBox(T)